package user;

import book.BookList;
import opreation.IOpreation;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2024-01-03  09:24
 */
public abstract class User {
    protected IOpreation iOpreation[];

    public abstract int menu();

    public void doOpreation(int choice, BookList bookList) {
        iOpreation[choice].work(bookList);
    }
}
